import type { PageParams } from '@/types/page'
import axios from 'axios'

/**
 * 获取字体
 * @param params
 */
export function getFonts(params: PageParams) {
  return axios.get('/api/font/list', { data: params })
}
